-- GENERATED SPELL FOR [Ice Heart Jormungar Feeder] --


function spell0_26358(pUnit, Event) --@Corrosive Spit,n/a--
pUnit:FullCastSpellOnTarget(47447,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26358', 16000, 1)
end

function Sorts_26358(pUnit, Event)
local choix_sorts_26358 = math.random(0, 0)
if choix_sorts_26358 == 0 then
pUnit:RegisterEvent('spell0_26358', 1, 1)
end
end

function mob26358_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26358', math.random(1500, 3000), 1)
end

function mob26358_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26358_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26358_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26358, 1, 'mob26358_Action')
RegisterUnitEvent(26358, 2, 'mob26358_Leave')
RegisterUnitEvent(26358, 3, 'mob26358_Kill')
RegisterUnitEvent(26358, 4, 'mob26358_Die')
